﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000AB RID: 171
	internal class UInt64Int64 : IInt64Decoder
	{
		// Token: 0x060002B0 RID: 688 RVA: 0x0000B89B File Offset: 0x00009C9B
		private UInt64Int64()
		{
		}

		// Token: 0x060002B1 RID: 689 RVA: 0x0000B8A4 File Offset: 0x00009CA4
		public long Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 9;
			return (long)bytes[checked(offset + 1)] << 56 | (long)bytes[checked(offset + 2)] << 48 | (long)bytes[checked(offset + 3)] << 40 | (long)bytes[checked(offset + 4)] << 32 | (long)bytes[checked(offset + 5)] << 24 | (long)bytes[checked(offset + 6)] << 16 | (long)bytes[checked(offset + 7)] << 8 | (long)bytes[checked(offset + 8)];
		}

		// Token: 0x040000CC RID: 204
		internal static readonly IInt64Decoder Instance = new UInt64Int64();
	}
}
